﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Base.Master" CodeBehind="ViewAllCoursesHtml.aspx.cs" Inherits="VideoNetApplication.ViewAllCoursesHtml" %>
<%@ Import Namespace="VideoNetApplication.Common.Helper" %>
 <asp:Content ID="content" ContentPlaceHolderID="BasePlaceHolder" runat="server">
 <VideoNet:Navigation ID="nav" runat="server" />
 <div class="main mb15">
	<div class="pleft">
    	<div class="item">
        	<h3><strong>精彩课程推荐</strong></h3>
            <div class="ms_c">
            	<div class="index_ms_c kc_list">
            	<asp:Repeater ID="repCourse" runat="server">
                            <ItemTemplate>
                                <div class="news_hun">
                                    <a class="pic">
                                        <img src='<%#Eval("CourseImage")==null?"Images/kcpic.gif":PictureServerName+ Eval("CourseImage").ToString()%>' width="65" height="70" /></a>
                                    <h4>
                                        <a href="ViewCourseDetail.aspx?schoolId=<%=SchoolId %>&nid=<%#Eval("id") %>" target="_blank">
                                            <%#Eval("VC_name") %></a><span><a href="ViewCourseDetail.aspx?schoolId=<%=SchoolId %>&nid=<%#Eval("id") %>">进入课堂</a></span></h4>
                                   <p><span>适合人群：</span><%#Eval("vc_targetUsers")%></p>
                                   <p><span>课程特色：</span><%#StringUtils.getLimitLengthString(Eval("VC_desc").ToString(),100,"...")%></p>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
            	 
                    
                </div>
               <div class="pages">
                      <asp:AspNetPager ID="pager" runat="server" PageSize="6" OnPageChanged="pager_PageChanged" AlwaysShow="true">
                        </asp:AspNetPager>
                    </div>
             </div>
        </div>
        
    </div>
    
    <div class="pright">
    	
        <div class="mb15 login">
    	<VideoNet:UserLogin ID="login" runat="server" />
        </div>
   	  <VideoNet:ClassCourse ID="course"  runat="server"/>       
               
    </div>
    
    <div class=" clear"></div>
</div>
 </asp:Content>